package com.org.gameloft.GLIDER.IDE;

import com.org.gameloft.GLIDER.common.GLIDEROptions;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

/**
 * Created by Claudiu-Florin FILIMON
 * Date: Aug 7, 2007
 * Time: 6:45:05 PM
 * Revision: 0
 */
public class ToolbarEditor extends GLIDERDialog implements ActionListener
{
    private JButton btn_OK;
    private JButton btn_add;
    private JButton btn_remove;
    private JButton btn_separator;

    public ToolbarEditor()
    {
        super(GLIDEROptions.TOOLBAR_WINDOW, "Toolbar edit", true);

        getContentPane().setLayout(new BorderLayout());
        JSplitPane sPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
        getContentPane().add(sPane, BorderLayout.CENTER);

        JPanel pnl = new JPanel();
        pnl.setLayout(new BorderLayout());

        btn_OK = new JButton("OK");
        pnl.add(btn_OK, BorderLayout.EAST);

        getContentPane().add(pnl, BorderLayout.SOUTH);

        setVisible(true);
    }

    public void actionPerformed(ActionEvent e)
    {
        if (e.getSource() == btn_OK)
        {
            
        }
    }
}
